package com.example.department.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "登陆参数")
public class LoginToken {

    @Schema(name = "用户名", required = true, example = "tommy")
    private String username;

    @Schema(name = "密码", required = true, example = "123456")
    private String password;

}
